const crypto = require('crypto');

function md5(str,personalSign) {
    const strAndpersonalSign=`${str}${personalSign}`;
  return crypto.createHash('md5').update(strAndpersonalSign).digest('hex');
}

module.exports = md5;